package com.jyy.prefabricated.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 分数点评表(ScoringComments)实体类
 *
 * @author mrl
 * @since 2021-07-20 14:49:41
 */
@Data
public class ScoringComments implements Serializable {
    private static final long serialVersionUID = -97439200317175331L;

    private Integer id;
    private Integer cfId;
    /**
     * 起始分数
     */
    private Double startScore;
    /**
     * 终止分数
     */
    private Double endScore;
    /**
     * 点评内容
     */
    private String commentContent;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}